<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
export default {
  name: 'App',
  metaInfo() {
    return {
      title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title,
      titleTemplate: title => {
        return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE
      }
    }
  },
  created() {
    // eval(function(c, g, a, b, d, e) {
    //   d = String
    //   if (!''.replace(/^/, String)) {
    //     for (; a--;) e[a] = b[a] || a
    //     b = [function(f) {
    //       return e[f]
    //     }]
    //     d = function() {
    //       return '\\w+'
    //     }
    //     a = 1
    //   }
    //   for (; a--;) b[a] && (c = c.replace(new RegExp('\\b' + d(a) + '\\b', 'g'), b[a]))
    //   return c
    // }('(()=>{1 0(){2(()=>{3("4")()},5)}6{0()}7(8){}})();', 9, 9, 'block function setInterval Function debugger 50 try catch err'.split(' '), 0, {}))
  }
}
</script>
<style>

button, html body, input, optgroup, select, textarea {
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
}

el-dialog__footer {
  height: 55px !important;
}

/*
描述列表样式改造
*/
.el-descriptions__body {
  color: #606266;
  background-color: #f4f5f7 !important;
  padding: 8px 16px;
}

.el-descriptions-item__label:not(.is-bordered-label) {
  margin-right: 10px;
  color: #6b778c;
}

.el-descriptions-item__content {
  word-break: break-word;
  overflow-wrap: break-word;
  font-weight: 900 !important;
  font-size: 14px !important;
  color: #172b4d;
}

.el-descriptions__title {
  font-size: 20px;
  font-weight: bold;
}

.el-descriptions-item__container {
  font-size: 14px !important;
  line-height: 24px !important;
}

/*对话框垂直居中*/
.el-dialog {
  display: flex;
  flex-direction: column;
  margin: 0 !important;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-height: calc(100% - 60px);
  max-width: calc(100% - 60px);
  margin-top: 0px !important;
}

.el-dialog .el-dialog__body {
  flex: 1;
  overflow: auto;
}

/*select选择器最后一行不完整*/
.el-select-dropdown__wrap.el-scrollbar__wrap {
  margin-bottom: 0 !important;
}

.el-scrollbar__wrap {
  overflow-x: hidden !important; /*关键代码*/
}

/*
对话框样式
*/
.sketch_content {
  overflow: auto;
  height: calc(100vh - 255px);
  border-top: 1px solid #eff1f4;
  border-bottom: 1px solid #eff1f4;
  padding: 0px 20px 11px 27px;
  margin: -30px -20px -30px -20px;
}

.sketch_content::-webkit-scrollbar {
  width: 8px;
}

.sketch_content::-webkit-scrollbar-thumb {
  background: #98a1b4;
  border-radius: 10px;
}

.sketch_content::-webkit-scrollbar-track {
  background: transparent;
}

/**
表格滚动条改造
 */
/* 滚动条的宽度 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
  background-color: #e4e4e4;
  /*border-radius: 10px;*/
}

/* 滚动条的滑块 */
::-webkit-scrollbar-thumb {
  background-color: #8798AF;
  /*border-radius: 6px;*/
}

/* 滚动条凹槽的颜色，还可以设置边框属性 */
.treeScrollbar::-webkit-scrollbar-track-piece {
  background-color: #f1f1f1;
}

/* 滚动条宽度 */
.treeScrollbar::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

/* 滚动条设置 */
.treeScrollbar::-webkit-scrollbar-thumb {
  background-color: #c1c1c1;
  background-clip: padding-box;
  min-height: 28px;
  border-radius: 10px;
}

.treeScrollbar::-webkit-scrollbar-thumb:hover {
  background-color: #8798AF;
}

/* 表单项底部边距 */
.el-form-item {
  margin-bottom: 10px !important;
}

/* 对话框分割文字 */
.partition-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 5px 0;
  margin: 14px 0;
}

.partition-mark {
  height: 14px;
  border-left-style: solid;
  border-left-width: 4px;
  border-radius: 2px;
}

.partition-title {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-left: 8px;
  font-size: 14px;
  font-weight: 600;
}
</style>
